package com.shopoo.oauth.dto.clientobject;

import java.time.LocalDateTime;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * (OauthUser)实体类
 *
 * @author makejava
 * @since 2021-05-14 17:14:04
 */
@Data
public class UserCO {

    @ApiModelProperty("用户主键")
    private String userId;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("用户密码")
    private String password;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("电话号码")
    private String phone;

    @ApiModelProperty("状态")
    private Short status;

    @ApiModelProperty("性别 0-女 1-男")
    private Short sex;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("用户角色列表")
    private List<RoleCO> roles;
}
